/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package forca;

import interfaces.VerificadorDeForca;

/**
 *
 * @author Matheus
 */
public class ResultadoDaForca02 implements VerificadorDeForca {
    @Override
    public String verificaForca(int forca) {
        String veredicto = "";
        if (forca > 100) { forca = 100; } else if (forca < 0) { forca = 0; }
        if (forca >= 0 && forca < 20) { veredicto = "Very Weak"; }
        else if (forca >= 20 && forca < 40) { veredicto = "Weak"; }
        else if (forca >= 40 && forca < 60) { veredicto = "Medium"; }
        else if (forca >= 60 && forca < 80) { veredicto = "Strong"; }
        else if (forca >= 80 && forca <= 100) { veredicto = "Very Strong"; }
        return veredicto;
    }
}
